package com.qhy.springcloud.dao;

import com.qhy.springcloud.api.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author qiuhongyu
 * @date 2020/9/25 17:10
 */

@Mapper
@Repository
public interface DeptMapper {

    public void addDept(Dept dept);

    public Dept queryDept(Long id);

    public List<Dept> queryDepts();
}
